]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
panel: Remove unused constant
authorFlorian Müllner <fmuellner@gnome.org>
Tue, 23 Jul 2019 17:59:53 +0000 (19:59 +0200)
committerFlorian Müllner <fmuellner@gnome.org>
Tue, 23 Jul 2019 18:05:19 +0000 (20:05 +0200)
This was left-over in commit 2743f18af, and probably is the real reason
why the busy spinner wasn't using the shared AnimatedIcon.Spinner class:
The animation there was much slower.

Still, let's keep the code as-is for now, if we really need a different
animation time, we can add an optional constructor parameter to the
Spinner class.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/640

js/ui/panel.js

index 6eb54f3e7274799a7e540759ffe1db7b8c1284f5..36f1c2d2b6b2be46e0540f81b361374060cfbfa7 100644 (file)
@@ -19,8 +19,6 @@ var APP_MENU_ICON_MARGIN = 0;
 
 var BUTTON_DND_ACTIVATION_TIMEOUT = 250;
 
-var SPINNER_ANIMATION_TIME = 1.0;
-
 // To make sure the panel corners blend nicely with the panel,
 // we draw background and borders the same way, e.g. drawing
 // them as filled shapes from the outside inwards instead of